<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>文章管理-文章分类</title>
    <jsp:include page="../../include/base.jsp"></jsp:include>
	<jsp:include page="../../include/common.jsp"></jsp:include>
  </head>
  <body style="margin:0 auto;padding:0">   
  	<form id="articlesSortForm" method="post">
		<table style="width:100%;font-size:12px;padding-top:14px;" align="center" cellpadding="3">
			<tr>
				<td align="right" width="80">分类名称：</td>
				<td>    
                     <input name="bagName" class="mini-textbox" required="true" width="250"/>
                 </td>
			</tr>
			<tr>
				<td align="right">上级分类：</td>
				<td>    
                     <input id="bagParentTree" name="bagParent" class="mini-treeselect" multiSelect="false" 
        				valueField="bagId" parentField="bagParent" textField="bagName" 
        				url="<%=path %>/lazyLoadBasTree.do" width="180" showTreeIcon="false"/>
        			 <div id="topBagType" class="mini-checkbox" text="顶级分类" 
        			 	oncheckedchanged="ArticlesSortFormHandler.selectedTopBagType"></div>
                 </td>
			</tr>
			<tr>
				<td align="right">分类排序：</td>
				<td>    
                     <input name="bagOrder" class="mini-textbox" required="true" width="250"/>
                 </td>
			</tr>
			<tr>
				<td align="right">分类状态：</td>
				<td>    
                     <div id="bagState" name="bagState" class="mini-radiobuttonlist" 
		    		 	repeatItems="2" repeatLayout="table" repeatDirection="horizontal"  
		    		 	textField="text" valueField="value">
					</div> 
                 </td>
			</tr>
			<tr>
				<td colspan="2" align="center" height="50px;">
					<input class="mini-button" text="保存" iconCls="icon-save" plain="false" 
      					onclick="ArticlesSortFormHandler.save"/>&nbsp;&nbsp;
      				<input class="mini-button" text="关闭" iconCls="icon-cancel" plain="false" 
      					onclick="ArticlesSortFormHandler.closeMiniWin"/>
				</td>
			</tr>
		</table>
  	</form>
  </body>
  <script src="handler/ArticlesSortFormHandler.js" type="text/javascript"></script>
</html>